package com.cskaoyan.mapper;

import com.cskaoyan.bean.bo.StorageDeleteBo;
import com.cskaoyan.bean.bo.StorageUpdateBo;
import com.cskaoyan.bean.param.BaseParam;
import com.cskaoyan.bean.po.StoragePO;
import com.cskaoyan.bean.vo.StorageListInnerVo;

import com.cskaoyan.bean.vo.StorageUpdateVo;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface StorageMapper {
    int insertImage(@Param("storagePO") StoragePO storagePO);

    List<StorageListInnerVo> queryAllByParam(@Param("baseParam") BaseParam baseParam, String key, String name);

    void delete(@Param("storageDeleteBo") StorageDeleteBo storageDeleteBo);

    int update(@Param("storageUpdateBo") StorageUpdateBo storageUpdateBo);

}
